<template>
  <div id="app">
    <div @click="see">打印数据</div>
    <andOr :value="conditions"></andOr>
  </div>
</template>

<script>
import andOr from './components/AndOr/andOr.vue';
export default {
  name: 'App',
  components: {
    andOr
  },
  data() {
    return {
      conditions: {
        elList: [{
          showl: false,
          showr: false,
          havel: false,
          haver: false,
          context: 'condition',
          value: {
            first: '',
            second: 'more',
            third: '',
          }
        }],
        conditionCounts: 1
      }
    };
  },
  methods: {
    see() {
      console.log(this.conditions);
    }
  }
}
</script>

<style>
</style>
